<?php
getHeader();

if (isset($_SESSION['authPassed']))
{
	?>
<div id="content">
<div class="tabs headTabs"><span>获取邀请码</span></div>
<div class="dataList"><span>你的邀请码是: <?php echo getInviteCode(); ?></span>
</div>
</div>
	<?php
}
else
{
	?>
<div id="content">
<div class="tabs headTabs"><span>获取邀请码</span></div>
<div class="dataList"><span>你当前为游客, 不能获取邀请码.</span></div>
</div>
	<?php
}
getPanel();
getFooter();
?>
